<tagLib name="preem" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>{&index_name} {&site_name} 教工之家</title>
        <link rel="stylesheet" type="text/css" href="__TMPL__reset.css"/>
        <link rel="stylesheet" type="text/css" href="{$TplPath}/css/index.css"/>
        <script type="text/javascript" src="__TMPL__v.js"></script>
        <script type="text/javascript">
            DD_roundies.addRule('.rounded', '8px', true);
            DD_roundies.addRule('#commands', '0 0 8px 8px', true);
            DD_roundies.addRule('#head', '0 0 10px 10px', true);
        </script>
	</head>
	<body>
        <div id="container" class="clearfix">
            {:get_var('Head_Gh')}
            <div id="content" class="rounded clearfix">
				<div id="c1">
					<div id="c11" class="half rounded">
						<h5>图片新闻</h5>
						<div id="ppt" class="rounded">
                            <script type="text/javascript">
                                linkarr = new Array();
                                picarr = new Array();
                                textarr = new Array();
                                var focus_width=465;
                                var focus_height=270;
                                var text_height=20;
                                var pics = "";
                                var links = "";
                                var texts = "";
                                var swf_height = focus_height+text_height;                           
                               <preem:arclist id="vo" thumb="true" category="102" cascade="5" rows="6">
                                    linkarr.push("__URL__/view/id/{$vo['id']}.html");
                                    picarr.push("{$vo['thumb']}");
                                    textarr.push("{$vo['title']}");
                                </preem:arclist>                            
                                pics=picarr.join("|");
                                links=linkarr.join("|");
                                texts=textarr.join("|");
                                 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
                                document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="__TMPL__slide.swf">');
                                document.write('<param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
                                document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
                                document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
                                document.write('<embed src="__TMPL__slide.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
                                document.write('</object>');
                            </script>
						</div>
						<div id="mailcontact" class="left rounded">
                            <span>主席信箱</span>&nbsp;&nbsp;
                            <select onchange="copy2Clipboard(this)">
                                <option value="0">请选择...</option>
                                <option value="zyun@fzu.edu.cn">赵云老师 </option>
                            </select>
                        </div>
					</div>
					<div id="c12" class="half rounded">
						<h5>通知公告</h5>
						<ul class="list">
                        <?php $CC=GC_Category();?>
						<preem:arclist id="vo" category="103" cascade="5" rows="12">
							<li>
                                <label>{$vo['pubdate']|parseDatetime='m-d',###}</label>
                                <a href="__URL__/category/id/{$vo['category']}.html">[<?php $arr=split('-->',$CC[$vo['category']]['fullname']);echo $arr[0];?>]</a>&nbsp;<a href="__URL__/view/id/{$vo['id']}.html" title="{$vo['title']}">{$vo['title']|suffixstr=###,20}</a>
                            </li>
						</preem:arclist>
						</ul>
					</div>
				</div>
				<div id="c2" class="rounded clearfix">
					<div class="newsblock">
						<div class="listtitle">
							<h5>工会活动</h5>
							<a href="__URL__/category/id/113">更多</a>
						</div>
						<ul class="list">
						<preem:arclist id="vo" category="113" rows="8">
							<li><label>{$vo['pubdate']|parseDatetime='Y-m-d',###}</label><a href="__URL__/view/id/{$vo['id']}.html" title="{$vo['title']}">{$vo['title']|suffixstr=###,22}</a></li>
						</preem:arclist>
						</ul>
					</div>
					<div class="newsblock">
						<div class="listtitle">
							<h5>教师风采</h5>
							<a href="__URL__/category/id/115">更多</a>
						</div>
						<ul class="list">
						<preem:arclist id="vo" category="115" rows="8">
							<li><label>{$vo['pubdate']|parseDatetime='Y-m-d',###}</label><a href="__URL__/view/id/{$vo['id']}.html" title="{$vo['title']}">{$vo['title']|suffixstr=###,22}</a></li>
						</preem:arclist>
						</ul>
					</div>
					<div class="newsblock">
						<div class="listtitle">
							<h5>师德师风</h5>
							<a href="__URL__/category/id/116">更多</a>
						</div>
						<ul class="list">
						<preem:arclist id="vo" category="116" cascade="4" rows="8">
							<li><label>{$vo['pubdate']|parseDatetime='Y-m-d',###}</label><a href="__URL__/view/id/{$vo['id']}.html" title="{$vo['title']}">{$vo['title']|suffixstr=###,22}</a></li>
						</preem:arclist>
						</ul>
					</div>
					<div class="newsblock">
						<div class="listtitle">
							<h5>理论学习</h5>
							<a href="__URL__/category/id/121">更多</a>
						</div>
						<ul class="list">
						<preem:arclist id="vo" category="121" rows="8">
							<li><label>{$vo['pubdate']|parseDatetime='Y-m-d',###}</label><a href="__URL__/view/id/{$vo['id']}.html" title="{$vo['title']}">{$vo['title']|suffixstr=###,22}</a></li>
						</preem:arclist>
						</ul>
					</div>
				</div>
				<div id="c3" class="rounded clearfix">
					<div class="newsblock">
						<h5>友情链接</h5>
						<ul class="list" style="list-style:none">
							<li>
                                <select onchange="openSelectLink(this)">
                                    <option value="0" selected>----- 校内站点 -----</option>
                                    <option value="http://www.fzu.edu.cn">福州大学</option>
                                    <option value="http://fdgh.fzu.edu.cn">福州大学工会</option>
                                    <option value="__APP__/Index/index.html">机械工程及自动化学院</option>
                                </select>&nbsp;&nbsp;
                                <select onchange="openSelectLink(this)">
                                    <option value="0" selected>----- 校外站点 -----</option>
                                    <option value="http://www.acftu.net/">中华全国总工会</option>
                                    <option value="http://www.fjgh.org.cn/">福建省总工会</option>
                                    <option value="http://www.fzgh.org.cn/">福州市总工会</option>
                                    <option value="http://xdgh.xmu.edu.cn/">厦门大学工会</option>
                                </select>								
							</li>
						</ul>
					</div>
					<div id="search" class="newsblock">
						<h5>站内搜索</h5>
						<form id="searchForm" action="__URL__/search" method="post">
						<table>
							<tr><td>
							<input class="ibrTextarea" type="text" name="key" style="font-size:13px;height:14px;padding:2px;" onfocus="initInput(this)" onblur="initInput(this)" value="多个关键词间以“ ”格或“,”分隔" size="36"/>
                            <input id="searchBtn" type="button" value="&nbsp;搜&nbsp;索&nbsp;" onclick="doSearch()" style="font-size:13px"/>
							</td></tr>
						</table>
						</form>
						<script type="text/javascript">
                            function doSearch(){
                                var ff=document.getElementById("searchForm");
                                var keys=ff.elements['key'].value;
                                if(keys=="多个关键词间以“ ”格或“,”分隔"){
                                    return;
                                }
                                ff.setAttribute("action", ff.getAttribute("action")+"/key/"+keys);
                                ff.submit();
                            }
                            function initInput(obj){
                                if('ibrTextarea'==obj.className){
                                    obj.value='';
                                    obj.className='ipsTextarea';
                                }else{
                                    if(obj.value==''){
                                        obj.value='多个关键词间以“ ”格或“,”分隔';
                                        obj.className='ibrTextarea';
                                    }
                                }
                            }
						</script>
					</div>
				</div>
            </div>
            <div id="copyright">
                <p><b>{&site_name}</b><b>版权所有</b><b><a target="_blank" href="__APP__/Public/login">网站管理</a></b></p>
                <p>copyright&copy;2009,school of Mechanical Engineering and Automation,All Rights Reserved</p>
            </div>
        </div>
	</body>
</html>